package part7;

/**
 * @author wcj
 * @Date 2021/5/15 15:38
 * @Version 1.0
 */
public class Part77 extends World {

    public void write(boolean b) {
        System.out.println("b=" + b);
    }

    public static void main(String[] args) {
        Part77 part77 = new Part77();
        part77.write(1);
        part77.write("s");
        part77.write(3.14f);
        part77.write(true);
    }
}

class World {

    public void write(String s) {
        System.out.println("s=" + s);
    }

    public void write(int i) {
        System.out.println("i=" + i);
    }

    public void write(float f) {
        System.out.println("f=" + f);
    }
}
